package spaces;

import java.util.TimerTask;

/**
 *
 * @author Sawior
 */
public class SpacesTimeScheduler  extends TimerTask {
        private Spaces spaceToSchedul;
    
        public SpacesTimeScheduler(Spaces space){
            super();
            this.spaceToSchedul = space;
            
        }
        @Override
	public void run() {
		spaceToSchedul.makeRefresh();
	}
}